<template>
  <div>
    <van-nav-bar
      title="账号与安全"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
    />
    <van-cell title="修改密码" is-link class="changePWD" />
    <van-cell title="更换手机号" is-link />
  </div>
</template>

<script>
export default {
  name: "Safety",
  methods: {
    onClickLeft() {
      this.$router.back(); //返回按钮
    },
  },
};
</script>

<style scoped>
.changePWD {
  margin-top: 0.3rem;
}
</style>